if (NOT WTF_DIR)
    set(WTF_DIR "${CMAKE_SOURCE_DIR}/source/wtf")
endif ()
if (NOT XGUIPRO_LIB_DIR)
    set(XGUIPRO_LIB_DIR "${CMAKE_SOURCE_DIR}/source/lib")
endif ()
if (NOT XGUIPRO_BIN_DIR)
    set(XGUIPRO_BIN_DIR "${CMAKE_SOURCE_DIR}/source/bin")
endif ()
if (NOT XGUIPRO_DOC_DIR)
    set(XGUIPRO_DOC_DIR "${CMAKE_SOURCE_DIR}/source/doc")
endif ()
if (NOT XGUIPRO_MISC_DIR)
    set(XGUIPRO_MISC_DIR "${CMAKE_SOURCE_DIR}/source/misc")
endif ()
if (NOT THIRDPARTY_DIR)
    set(THIRDPARTY_DIR "${CMAKE_SOURCE_DIR}/source/third-party")
endif ()
if (NOT TOOLS_DIR)
    set(TOOLS_DIR "${CMAKE_SOURCE_DIR}/tools")
endif ()

set(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources")
set(WTF_DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WTF")
set(xGUIPro_DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources/xGUIPro")
set(xGUIProTestRunner_DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources/xGUIProTestRunner")

set(FORWARDING_HEADERS_DIR ${DERIVED_SOURCES_DIR}/ForwardingHeaders)

set(bmalloc_FRAMEWORK_HEADERS_DIR ${FORWARDING_HEADERS_DIR})
set(WTF_FRAMEWORK_HEADERS_DIR ${FORWARDING_HEADERS_DIR})
set(xGUIPro_FRAMEWORK_HEADERS_DIR ${FORWARDING_HEADERS_DIR})
set(xGUIPro_PRIVATE_FRAMEWORK_HEADERS_DIR ${FORWARDING_HEADERS_DIR})
